package com.dt.dubai.sys.service;

import com.dt.dubai.sys.entity.SysAdminInfoEntity;
import com.dt.dubai.sys.service.innate.SysAdminInfoSerInnateAbsImp;
import com.dt.dubai.sys.service.ser.SysAdminInfoService;
import org.springframework.stereotype.Service;

@Service
public class SysAdminInfoServiceImp extends SysAdminInfoSerInnateAbsImp implements SysAdminInfoService {

    /*innateServiceStart*/
    @Override
    protected void userSavEntity(SysAdminInfoEntity inEntity) {

    }

    @Override
    protected void userModEntity(SysAdminInfoEntity inEntity, SysAdminInfoEntity upEntity) {
        upEntity.setAdminLoginRecordId(inEntity.getAdminLoginRecordId()); // 用户登录记录ID
        upEntity.setRealNameZh(inEntity.getRealNameZh()); // 真实姓名
        upEntity.setCardId(inEntity.getCardId()); // 身份证号码
        upEntity.setCardIdAddr(inEntity.getCardIdAddr()); // 身份证正面地址
        upEntity.setMerchantLogoUrl(inEntity.getMerchantLogoUrl()); // 商户logo
        upEntity.setBusinessLicenseNo(inEntity.getBusinessLicenseNo()); // 营业执照号
        upEntity.setBusinessLicenseAddr(inEntity.getBusinessLicenseAddr()); // 营业执照地址
        upEntity.setMobilePhoneBinding(inEntity.getMobilePhoneBinding()); // 手机绑定

    }
    /*innateServiceEnd*/
    /*以上内容请误删除或是移动，系统升级使用，static系统升级覆盖用户修改，用户代码请写入下方*/
}
